<?php
/*
 * Created on 26.04.2008
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */
 
 class Model_Tabs extends Models_Base {
	private $items = array();
 	
 	function __construct() {
 		parent::__construct();
 		
 		$this->items = array(
 			register =>  array (
	 			array(
	 				caption => 'Новые',
	 				file	=> 'admin/tabs/register/new.tmpl',
	 				link	=> 'register-new' 
	 			),
//	 			array(
//	 				caption => 'Пользователи',
//	 				file	=> 'admin/tabs/register/users.tmpl',
//	 				link	=> 'register-users' 
//	 			),
//	 			array(
//	 				caption => 'Настройки',
//	 				file	=> 'admin/tabs/register/setup.tmpl',
//	 				link	=> 'register-setup' 
//	 			)
	 		),
	 		
	 		'order_view' => array(
	 			array(
	 				caption => 'Просмотр заказа',
	 				file	=> 'admin/tabs/order/view.tmpl',
	 				link	=> 'order-view'
	 			) 
	 		),
	 		order	=> array (
	 			array(
	 				caption => 'Новые',
	 				file	=> 'admin/tabs/order/new.tmpl',
	 				link	=> 'order-new' 
	 			),
	 			array(
	 				caption => 'Обработанные',
	 				file	=> 'admin/tabs/order/processed.tmpl',
	 				link	=> 'order-proc' 
	 			),
	 			array(
	 				caption => 'Удаленные',
	 				file	=> 'admin/tabs/order/deleted.tmpl',
	 				link	=> 'order-del' 
	 			),
	 			array(
	 				caption => 'Настройки',
	 				file	=> 'admin/tabs/order/config.tmpl',
	 				link	=> 'order-config' 
	 			)
	 		),
	 		sort	=> array(
	 			array(
	 				caption => 'Сортировка',
	 				file	=> 'admin/tabs/sort.tmpl',
	 				link	=> 'sort' 
	 			),
	 		),
	 		error	=> array(
	 			array(
	 				caption => 'Ошибка!!!',
	 				file	=> 'admin/tabs/error.tmpl',
	 				link	=> 'error' 
	 			),
	 		),
	 		catalog	=> array(
	 			array(
	 				caption => 'Каталог',
	 				file	=> 'admin/tabs/catalog/catalog.tmpl',
	 				link	=> 'catalog' 
	 			),
//	 			array(
//	 				caption => 'Настройки',
//	 				file	=> 'admin/tabs/catalog/setup.tmpl',
//	 				link	=> 'catalog-setup' 
//	 			),	 			
//	 			array(
//	 				caption => 'Остатки',
//	 				file	=> 'admin/tabs/catalog/rests.tmpl',
//	 				link	=> 'catalog-rests' 
//	 			),
	 		),
	 		'catalog_edit'	=> array(
	 			array(
	 				caption => 'Правка товара',
	 				file	=> 'admin/tabs/catalog/edit.tmpl',
	 				link	=> 'catalog' 
	 			),
	 		),
	 		'catalog_add'	=> array(
	 			array(
	 				caption => 'Добавление товара',
	 				file	=> 'admin/tabs/catalog/add.tmpl',
	 				link	=> 'catalog' 
	 			),
	 		),
	 		common	=> array(
	 			array(
	 				caption	=> 'Основное',
	 				file	=> 'admin/tabs/basic.tmpl',
	 				link	=> 'basic'
	 			),
	 			array(
	 				caption	=> 'Дополнительно',
	 				file	=> 'admin/tabs/advanced.tmpl',
	 				link	=> 'advanced'
	 			)
	 		),
	 		setup	=> array(
	 			array(
	 				caption	=> 'Настройки CMS',
	 				file	=> 'admin/tabs/setup.tmpl',
	 				link	=> 'setup'
	 			),
	 			array(
	 				caption	=> 'Индексная страница',
	 				file	=> 'admin/tabs/setup/index.tmpl',
	 				link	=> 'setup-index'
	 			)
	 		),		
	 		users	=> array(
	 			array(
	 				caption	=> 'Пользоваетели CMS',
	 				file	=> 'admin/tabs/users.tmpl',
	 				link	=> 'users'
	 			)
	 		),		
	 		access	=> array(
	 			array(
	 				caption	=> 'Доступ в CMS',
	 				file	=> 'admin/tabs/access.tmpl',
	 				link	=> 'access'
	 			)
	 		),		
	 		help	=> array(
	 			array(
	 				caption	=> 'Руководство пользователя',
	 				file	=> 'admin/tabs/help.tmpl',
	 				link	=> 'help'
	 			)
	 		),
	 		categories => array(
	 			array(
	 				caption	=> 'Разделы',
	 				file	=> 'admin/tabs/catalog/categories.tmpl',
	 				link	=> 'categories'
	 			)
	 		),
	 		manage => array(
	 			array(
	 				caption	=> 'Управление',
	 				file	=> 'admin/tabs/catalog/manage.tmpl',
	 				link	=> 'manage'
	 			)
	 		),
	 		basket => array(
 				array(
	 				caption	=> 'Корзина',
	 				file	=> 'admin/tabs/basket.tmpl',
	 				link	=> 'basket'
	 			)	 		
	 		),
	 		suits	=> array(
 				array(
	 				caption	=> 'Костюмы',
	 				file	=> 'admin/tabs/catalog/suits.tmpl',
	 				link	=> 'suits'
	 			)		 		
	 		),
	 		news	=> array(
 				array(
	 				caption	=> 'Новости',
	 				file	=> 'admin/tabs/news/list.tmpl',
	 				link	=> 'news'
	 			)	 		
	 		),
	 		news_edit	=> array(
 				array(
	 				caption	=> 'Редактирование новости',
	 				file	=> 'admin/tabs/news/edit.tmpl',
	 				link	=> 'news-edit'
	 			)	 		
	 		),
	 		player	=> array(
 				array(
	 				caption	=> 'плэй-лист',
	 				file	=> 'admin/tabs/playlist.tmpl',
	 				link	=> 'playlist'
	 			)	 		
	 		),
            questions   => array(
                array(
                    caption => 'список вопросов',
                    file    => 'admin/tabs/questions/list.tmpl',
                    link    => 'questions'
                ),
                array(
                    caption => 'настройки',
                    file    => 'admin/tabs/questions/setup.tmpl',
                    link    => 'setup'
                )                
            )
	 	);
 	}
 	
 	
 	function get($object) {
 		return $this->items[$object];
 	}
 	
 }
 
?>
